//
//  ChatViewController.m
//  QSBK
//
//  Created by Eric Wang on 5/7/15.
//  Copyright (c) 2015 Eric Wang. All rights reserved.
//
#import "Common.h"
#import "ChatViewController.h"

@interface ChatViewController ()
@property (nonatomic,strong)NSMutableArray *myDataArray;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (strong, nonatomic) UITableView *tableView;

@property (weak, nonatomic) IBOutlet UIImageView *topBar;
- (IBAction)back:(id)sender;
@end

@implementation ChatViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self configSubview];
    // Do any additional setup after loading the view from its nib.
}

-(void)configSubview
{
//    //
//    self.topBar.backgroundColor = [UIColor colorWithRed:127/255.0 green:146/255.0 blue:254/255.0 alpha:1.0];
//    //
//    self.tableView = [[UITableView alloc]initWithFrame:CGRectMake(0, 60, self.view.frame.size.width, ScreenH-100)];
//    self.tableView.backgroundColor = [UIColor cyanColor];
//    [self.view addSubview:self.tableView];
}

- (IBAction)back:(id)sender {
    
    [self dismissViewControllerAnimated:YES completion:nil];
}
@end
